home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / T-Z / Windoids.cpt / Windoid 1.7 / card_11976.txt < prev    next >
Text File  |  1989-04-19  |  4KB  |  47 lines

  1. -- card: 11976 from stack: in.7
  2. -- bmap block id: 12141
  3. -- flags: 0000
  4. -- background id: 10029
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 11
  9. ----- text -----
  10. ‚Ä¢ One of the most powerful features of HyperCard is clicking a button which will go to a card.  Even a novice can make such a button. This feature requires no programming, yet can allow you to create useful stacks. This feature can also be called "linking," but that word is way too scary for us novices. "Linking" brings thoughts of relational databases and high powered programmers.  However, we can "link" a button to a card with very little effort in HyperCard. 
  11.  
  12. Starting on the Home card, click on the left arrow and click on Authoring.  Click on the right arrow to go back Home.  
  13.  
  14. Click and hold the mouse down on the word "Edit", which is in the menu bar above to your left.  We are activating the Edit menu. Drag the mouse down within the menu until the words "New Card" are highlited.  Am I going too fast for you?  Let up the mouse.  We should have created a new card in your Home stack. We should now be on a blank white card.
  15.  
  16. We will now use another menu, "Objects".  We learned to use menus in the preceding paragraph. So, click and hold on the word "Objects" in the menu bar at the top of the screen. Drag the mouse down to the words 
  17. "New button" and release.  A new button should now be in the middle of the card.  
  18.  
  19. A couple of miraculous things have happened. One thing is that we are now in the Button tool instead of the Browse tool. We can confirm this by clicking on the "Tools" menu, and you will notice that the button in the middle of the first row is highlited, not the image of the hand (the Browse tool).  Let up the mouse.  The other great thing that has happened is that there are dots moving all around the new button we just created!  These are affectionately known as "marching ants."  When these "marching ants" are around a button, it tells you that this button is the one we can work on.  You can only work on one button at a time, so only one button will have the "marching ants" at any given time.
  20.  
  21. Now, click and hold on the word "Objects" in the menu bar again.  Notice that the words "Button Info" have been darkened and are no longer gray. This means that "Button Info" is active, so let‚Äôs drag the mouse down until the words "Button Info" are highlited. Let up the mouse.
  22.  
  23. A dialog box appears on your screen, giving you information about your button.  If you start typing, you can give your button a name. There is a button on the dialog box which says "LinkTo...".  I want you to click on this button. A small window appears which says: "This Card" ; "This Stack" ; "Cancel".  At this point in the "linking" process, we want to go to the card which we want the button to take us to when we click on it. If this is confusing,  it should clear up in the next couple of steps.  
  24.  
  25. From the "Go" menu, choose "Home". This will take us to the "Home" card.  Click on "This Card" in the small window.  You will be returned to the card with your "new button" on it. From the "Tools" menu in the menu bar, drag onto the image of the hand and let up the mouse. This will put you in the Browse tool, and the marching ants around your button should disappear. You have successfully linked this button with your Home card.  Now, every time you click this button, you will go to your Home card! Try it.
  26.  
  27. This linking of a button to a card has many possibilities.  For instance, the button we just named could be called "Home", and every time we click on it, we go to our Home card. In the same way, we could make a button called "giraffe", which goes to a card which has a picture and information of a giraffe. Linking with buttons creates a concept of 
  28. "navigation", which allows users to quickly go where they want to in your stack.
  29. Ô£ø
  30.  
  31. -- part contents for background part 17
  32. ----- text -----
  33. HyperCard
  34. Novice
  35. Corner Two
  36.  
  37. -- part contents for background part 18
  38. ----- text -----
  39.  
  40.  
  41.  
  42. ‚Ä¢ by
  43. Phil Wyman
  44.  
  45. -- part contents for background part 19
  46. ----- text -----
  47. volume 1 ‚Ä¢  number  7  ‚Ä¢  card 6  ‚Ä¢